package edu.osumc.bmi.restful.service;

import java.util.List;

import edu.osumc.bmi.restful.schema.User;
import edu.osumc.bmi.restful.util.RestfulException;

public interface RestfulService {
	void addUser(User user) throws RestfulException;

	User getUser(Integer id) throws RestfulException;

	List<User> getAllUsers();

	void updateUser(User user) throws RestfulException;

	void deleteUser(Integer id) throws RestfulException;
}
